import { createRouter, createWebHashHistory } from 'vue-router'
export const routes = [
  {
    path: '/',
    redirect: '/home',
  },
  {
    path: '/home',
  },
  // {
  //   path: '/:pathMatch(.*)*',
  //   name: 'notFound',
  //   redirect: '/my-pages/error/404',
  // },
]

const router = createRouter({
  history: createWebHashHistory(import.meta.env.VITE_BASE_URL),
  routes,
})

export default router
